package com.heima.baidu.config;


import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

@Data
@ConfigurationProperties(prefix = "baidu")  // 文件上传 配置前缀file.oss
@ToString
public class BaiDuConfigProperties implements Serializable {

    private String appId;
    private String apiKey;
    private String secretKey;
    private String accessToken;
    private String checkTextUrl;
    private String checkImageUrl;
}